<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>js替换文本框调用fckeditor</title>

<script type="text/javascript" src="fckeditor/fckeditor.js"></script>
<script type="text/javascript">
	window.onload = function()//加载时调用
	{
		var oFCKeditor = new FCKeditor('content') ;//创建FCKeditor实例
		oFCKeditor.BasePath	= "fckeditor/" ;//设置基础路径，js代码，路径是在此文件夹路径下的
		oFCKeditor.ReplaceTextarea() ;//fckeditor替换多行文本框
	}
</script>

</head>
<body>
	<!-- js引用fckeditor2：多行文本框引用 -->
	<textarea rows="10" cols="40" name="content"></textarea>
</body>
</html>